/**
 * Copyright (C), 2015-2018, 周氏集团有限公司
 * FileName: UserServiceImpl
 * Author:   Administrator
 * Date:     2018/8/23 1:01
 * Description: 用户节点操作服务
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.zzg.neo4j.service.impl;


import com.zzg.neo4j.api.UserService;
import com.zzg.neo4j.entity.UserNode;
import com.zzg.neo4j.repository.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 〈一句话功能简述〉<br> 
 * 〈用户节点操作服务〉
 *
 * @author Administrator
 * @create 2018/8/23
 * @since 1.0.0
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserRepository repository;
    @Override
    public UserNode insert(UserNode node) {
        return repository.save(node);
    }
}
